#ifndef WENJIANSHUJU_H
#define WENJIANSHUJU_H

#include <QWidget>
#include<qsqltablemodel.h>

//数据库
#include<QSqlDatabase>
#include<QMessageBox>
#include<QSqlError>
#include<QSqlQuery>
#include<QVariantList>
#include<QSqlTableModel>

namespace Ui {
class wenjianshuju;
}

class wenjianshuju : public QWidget
{
    Q_OBJECT


public:
    explicit wenjianshuju(QWidget *parent = nullptr);
    ~wenjianshuju();
    void shanchubiao();
    void updata();

private slots:

    void on_pushButton_clicked();

    void on_pushButton_start_clicked();

    void on_pushButton_genxin_clicked();

    void on_pushButton_deletedata_clicked();

signals:
    void signal_sddover();
private:
    Ui::wenjianshuju *ui;
   QSqlTableModel model;

};

#endif // WENJIANSHUJU_H
